const { render }  = require('./display.js');
const { updateCount, count } =  require('./counter.js');

updateCount()
render(count);

setInterval(() => {
  updateCount()
  render(count);
}, 1000);